<?php
/**
 * 文章管理模型
 * 
 + ----------------------------------------------------- 
 * Date 2013-3-8
 + -----------------------------------------------------
 */
class ArticleModel extends CommonModel {
	
	protected $_validate	=	array(
			array('title','require','请输入标题！'),
			array('menu_id','require','请选择类别！'),
			array('content','require','请输入内容！'),
		
	);

	protected $_auto		=	array(
		array('start_date','initTime',3,'callback'),
		array('end_date','initTime',3,'callback'),
		array('add_time','initTime',3,'callback'),
		array('update_time','time',3,'function'),
	);
	
}
?>